

package cc.ServiceImpl;

import cc.Dao.AdminDao;
import cc.Entity.AdminInfo;
import cc.Service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: ${张智杰}
 * @Date: 2018/10/6 22:40
 * @Description:
 */



@Service
public class AdminServiceImpl implements AdminService {
   @Autowired
    private AdminDao adminDao;
    @Override
    public AdminInfo getpassword(String account) {

        System.out.println(account);

        System.out.println(adminDao.getpassword(account));
        return adminDao.getpassword(account);
    }
}

